#pragma once

#include "light.h"

class pointLight: public light
{
public:
	pointLight();
	pointLight(color col, point pos, unsigned int maxPhot, double power);
	~pointLight();

	void getLightFromXML(std::ifstream &file);
	void setDecayParams(double const, double linear, double square);
	void setOrjentation(point poz, vector3 dir);
	void setPosition(point poz);
	void setDirection(vector3 dir);
	point getPosition();
	vector3 getDirection(point directionTo);
	photon emitPhoton();

protected:

	
};